package com.bristua.barcode.customer.dao;

import com.bristua.barcode.customer.model.TCustomerTakeAmt;
import com.bristua.barcode.customer.model.condition.TCustomerTakeAmtExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TCustomerTakeAmtMapper {
    long countByExample(TCustomerTakeAmtExample example);

    int deleteByExample(TCustomerTakeAmtExample example);

    int deleteByPrimaryKey(String takeAmtId);

    int insert(TCustomerTakeAmt record);

    int insertSelective(TCustomerTakeAmt record);

    List<TCustomerTakeAmt> selectByExample(TCustomerTakeAmtExample example);

    TCustomerTakeAmt selectByPrimaryKey(String takeAmtId);

    int updateByExampleSelective(@Param("record") TCustomerTakeAmt record, @Param("example") TCustomerTakeAmtExample example);

    int updateByExample(@Param("record") TCustomerTakeAmt record, @Param("example") TCustomerTakeAmtExample example);

    int updateByPrimaryKeySelective(TCustomerTakeAmt record);

    int updateByPrimaryKey(TCustomerTakeAmt record);

    int batchUpdate(@Param("recordList") List<TCustomerTakeAmt> recordList);

    int batchInsert(@Param("recordList") List<TCustomerTakeAmt> recordList);

    int batchDelete(@Param("ids") String[] ids);
}